import TeamOrderIndex from '@/components/teamorder/index.vue'
import TeamOrderInfo from '@/components/teamorder/info.vue'
import TeamOrderExpress from '@/components/teamorder/express.vue'
import TeamOrderRateinfo from '@/components/teamorder/rateinfo.vue'


//路由列表
const list = [
    {
        path:'index',
        name: 'TeamOrderIndex',
        component: TeamOrderIndex,
        meta: {IsLogin: true}
    },
    {
        path:'info',
        name: 'TeamOrderInfo',
        component: TeamOrderInfo,
        meta: {IsLogin: true}
    },
    {
        path:'express',
        name: 'TeamOrderExpress',
        component: TeamOrderExpress,
        meta: {IsLogin: true}
    },
    {
        path:'rateinfo',
        name: 'TeamOrderRateinfo',
        component: TeamOrderRateinfo,
        meta: {IsLogin: true}
    }
]

//父路由结构
const layout = {
    template: `<router-view></router-view>`
}

export default [{
    path: '/teamorder',
    name: 'teamorder',
    children: list,
    component: layout,
}]